<?xml version="1.0" ?>
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
<msxconfig>

  <!-- Thanks to Werner Kai for the details! -->
  <!-- CPU is a Sharp LH0080A -->

  <info>
    <manufacturer>Toshiba</manufacturer>
    <code>HX-22I</code>
    <release_year>1985</release_year>
    <description/>
    <type>MSX</type>
  </info>

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>int</keyboard_type>
      <has_keypad>false</has_keypad>
      <key_ghosting_sgc_protected>true</key_ghosting_sgc_protected>
      <code_kana_locks>false</code_kana_locks>
      <graph_locks>false</graph_locks>
    </PPI>

    <VDP id="VDP">
      <version>TMS9929A</version>
      <io base="0x98" num="2"/>
      <saturation>100</saturation> <!-- TMS9x2x and RGB output -->
    </VDP>

    <PSG id="PSG">
      <type>AY8910</type>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
      <ignorePortDirections>false</ignorePortDirections> <!-- not sure, but guess based on discrete PSG chip -->
    </PSG>

    <PrinterPort id="Printer Port">
      <io base="0x90" num="2"/>
    </PrinterPort>

    <MSX-RS232 id="RS-232">
      <io base="0x80" num="8"/>
      <toshiba_rs232c_switch>true</toshiba_rs232c_switch>
    </MSX-RS232>

    <primary slot="0">
      <RAM id="Main RAM 1">
        <mem base="0x8000" size="0x8000"/>
      </RAM>
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>HX22IIC2.BIN</filename>
          <sha1>829c00c3114f25b3dae5157c0a238b52a3ac37db</sha1> <!-- direct ROM dump by Werner Kai -->
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

    <primary external="true" slot="1"/>

    <primary external="true" slot="2"/>

    <primary slot="3">

      <secondary slot="0">
        <RAM id="Main RAM 2">
          <mem base="0x0000" size="0x8000"/>
        </RAM>
      </secondary>

      <secondary slot="3">
        <ROM id="Word Processor ROM">
          <rom>
            <sha1>3289336b2c12161fd926a7e5ce865770ae7038af</sha1> <!-- direct ROM dump by Werner Kai -->
            <filename>HX22IIC3.BIN</filename>
          </rom>
          <mem base="0x0000" size="0x10000"/>
        </ROM>
      </secondary>

    </primary>

  </devices>

</msxconfig>
